package com.syezon.wifikey.feedback;

import android.view.View;
import android.widget.RelativeLayout;

import com.syezon.wifikey.R;
import com.syezon.wifikey.base.BaseActivity;
import com.syezon.wifikey.utils.StatusBarUtil;

import butterknife.BindView;
import butterknife.OnClick;

public class FeedBackAndHelpActivity extends BaseActivity {

    @BindView(R.id.rl_top)
    RelativeLayout mRlTop;

    @Override
    protected boolean isApplyStatusBarTranslucency() {
        return true;
    }

    @Override
    protected int getContentViewLayoutID() {
        return R.layout.activity_feed_back_and_help;
    }

    @Override
    protected void initViewsAndEvents() {
        StatusBarUtil.setPaddingSmart(this, mRlTop);
    }

    @OnClick({R.id.ll_back, R.id.rl_feed_back, R.id.rl_q_pwd, R.id.rl_q_use})
    public void onViewClicked(View view) {
        switch (view.getId()) {
            case R.id.ll_back:
                finish();
                break;

            case R.id.rl_feed_back:
                readyGo(FeedbackActivity.class);
                break;
            case R.id.rl_q_pwd:
                readyGo(HelpActivity.class);
                break;
            case R.id.rl_q_use:
                readyGo(HelpActivity.class);
                break;
        }
    }
}
